package com.boc.langxiang.contract.common;


import com.boc.langxiang.contract.BaseView;
import com.boc.langxiang.entity.request.RegistRequest;
import com.boc.langxiang.entity.response.SmsCodeEntity;
import com.boc.langxiang.presenter.BasePresenter;

/**
 * CreateTime: 2016-06-14上午10:29
 * Author: wjkjinke00@126.com
 * Description:
 */
public interface RegistContract {
    interface View extends BaseView {
        void onGetSmsCodeSuccess(SmsCodeEntity smsCodeEntity);

        void registeSuccess();
    }

    interface Presenter extends BasePresenter {
        void sendCode(String phone);

        void regist(RegistRequest request);
    }
}
